<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Close Request FIT Test</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
.style1 {font-family: Arial, Helvetica, sans-serif}
-->
</style>
</head>

<body>
<p class="style1">Closing Request Acceptance Test </p>
<p class="style1">Closing request is the last stage of handling a change request, supervisor is the only one who can perform this action. Supervisor should notify the request owner about treatment and owner should approve it. </p>
<p class="style1">There are 2 kinds of request that can be closed: one is REJECTED request and second is EXECUTED request, each process must send confirmation email to request owner and must be confirmed by him.</p>
<p class="style1">NOTE: Please verify that 'Status' of tested Change Request Ids is 'Closing Request', otherwise the test will fail.</p>

<table width="765" border="1" cellspacing="0" cellpadding="5">
  <tr>
    <td colspan="3" class="style1">fit.ActionFixture</td>
  </tr>
  <tr>
    <td class="style1">start</td>
    <td class="style1">ClosingRequestFitTest</td>
    <td class="style1">&nbsp;</td>
  </tr>
  <tr>
    <td class="style1">enter</td>
    <td class="style1">start program with server </td>
    <td class="style1">localhost</td>
  </tr>
  <tr>
    <td class="style1">enter</td>
    <td class="style1">request id to close </td>
    <td class="style1">105</td>
  </tr>
  <tr>
    <td class="style1">press</td>
    <td class="style1">close request </td>
    <td class="style1">&nbsp;</td>
  </tr>
  <tr>
    <td class="style1">check</td>
    <td class="style1">email sent </td>
    <td class="style1">true</td>
  </tr>
  <tr>
    <td class="style1">check</td>
    <td class="style1">request status</td>
    <td class="style1">Closing User Request</td>
  </tr>
  <tr>
    <td class="style1">press</td>
    <td class="style1">user confirmation </td>
    <td class="style1">&nbsp;</td>
  </tr>
    <tr>
    <td class="style1">check</td>
    <td class="style1">request status</td>
    <td class="style1">Closed Executed</td>
  </tr>
    <tr>
    <td class="style1">enter</td>
    <td class="style1">request id to close </td>
    <td class="style1">106</td>
  </tr>
  <tr>
    <td class="style1">press</td>
    <td class="style1">close request </td>
    <td class="style1">&nbsp;</td>
  </tr>
  <tr>
    <td class="style1">check</td>
    <td class="style1">email sent </td>
    <td class="style1">true</td>
  </tr>
  <tr>
    <td class="style1">check</td>
    <td class="style1">request status</td>
    <td class="style1">Closing User Request</td>
  </tr>
  <tr>
    <td class="style1">press</td>
    <td class="style1">user confirmation </td>
    <td class="style1">&nbsp;</td>
  </tr>
    <tr>
    <td class="style1">check</td>
    <td class="style1">request status</td>
    <td class="style1">Closed Rejected</td>
  </tr>
</table>

<p><a herf="#" onClick="alert('update change_request\nset sid=\'Closing Request\'\nwhere rid =\'105\' or rid=\'106\';\n\nupdate status_execution \nset date_finished = null\nwhere eid=\'221\' or eid=\'218\'');">Press HERE to view the SQL query you can run to quickly re-test same 105,106 change requests.</a></p>

<p class="style1">Closing Request FIT Test &copy; 2013 Avihay AVitan </p>
</body>
</html>
